package com.tqfframe.test.rpc.custom;

import com.tqfframe.test.rpc.rpcApi.GODService;
import com.tqfframe.test.rpc.rpcCommon.Clinet;
import com.tqfframe.test.rpc.rpcCommon.RpcClint;

/**
 * @Author: 唐祺峰
 * @Date: 2020/12/4 0004 9:38
 * @Version 1.0
 */
public class ClintDemo {
    public static void main(String[] args) {
        Clinet Clint = new RpcClint();
        GODService service = (GODService)Clint.getService(GODService.class);
        String lockReturn = service.getGod("请给让我中彩票吧", "献祭我老板的二十年寿命！");
        System.out.println(lockReturn);
    }
}
